package com.vimi8.ebb.auth.dto;

import java.util.Objects;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;



/**
 * 组织统计信息.
 **/

/**
 * 组织统计信息.
 */
@ApiModel(description = "组织统计信息.")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.SpringCodegen", date = "2016-10-20T07:11:42.169Z")

public class OrgTotalDTO   {
  private String orgTotal = null;

  private String orgEmpHireRate = null;

  public OrgTotalDTO orgTotal(String orgTotal) {
    this.orgTotal = orgTotal;
    return this;
  }

   /**
   * 组织总数.
   * @return orgTotal
  **/
  @ApiModelProperty(value = "组织总数.")
  public String getOrgTotal() {
    return orgTotal;
  }

  public void setOrgTotal(String orgTotal) {
    this.orgTotal = orgTotal;
  }

  public OrgTotalDTO orgEmpHireRate(String orgEmpHireRate) {
    this.orgEmpHireRate = orgEmpHireRate;
    return this;
  }

   /**
   * 贫困户雇佣率.
   * @return orgEmpHireRate
  **/
  @ApiModelProperty(value = "贫困户雇佣率.")
  public String getOrgEmpHireRate() {
    return orgEmpHireRate;
  }

  public void setOrgEmpHireRate(String orgEmpHireRate) {
    this.orgEmpHireRate = orgEmpHireRate;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    OrgTotalDTO orgTotalDTO = (OrgTotalDTO) o;
    return Objects.equals(this.orgTotal, orgTotalDTO.orgTotal) &&
        Objects.equals(this.orgEmpHireRate, orgTotalDTO.orgEmpHireRate);
  }

  @Override
  public int hashCode() {
    return Objects.hash(orgTotal, orgEmpHireRate);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class OrgTotalDTO {\n");
    
    sb.append("    orgTotal: ").append(toIndentedString(orgTotal)).append("\n");
    sb.append("    orgEmpHireRate: ").append(toIndentedString(orgEmpHireRate)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

